package icu.lyt0628;

import java.io.PrintStream;
import java.util.Scanner;

public class Rm {
    public static void main(String[] args) {

        App app = new App();
        app.connect();

        Scanner scan = new Scanner(System.in);
        PrintStream o = System.out;

        o.println("Please input file path:  ");
        String file = scan.nextLine();


        if (app.exists(file)){
            app.rm(file);
            o.println("file removed");
        }else {
            o.println("File does not exists.");
        }





        app.release();
    }
}
